Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust min/max section optimizations #55

Merged
merged 3 commits into from
Oct 18, 2024
Merged

Adjust min/max section optimizations #55

merged 3 commits into from
Oct 18, 2024

Conversation

jpenilla
Copy link
Member

Now applies to all calls, not just Moonrise's. Also improves compatibility with mods extending Level.

fixes #47

Spottedleaf and others added 3 commits October 17, 2024 16:24
We need to initialise the field as early as possible in the constructor
to avoid problems.

Also, do not cache min/max section in EntityLookup. Note that mods
that implement worlds with variable heights will not work still,
as the entity slices expect a fixed height.
@jpenilla jpenilla merged commit f32a087 into master Oct 18, 2024
2 checks passed
@jpenilla jpenilla deleted the ex/min-max-section branch October 18, 2024 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Incompatiblity] Moonrise & Litematica: NullPointerException and Crash when loading the game world
2 participants